package com.me.forum.request;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserRequest extends BaseRequest {
	private String icon;
	private String username;
	private String password;
	private String email;
	private String tel;
	
	private String[] categoryIds;
	private String[] plateIds;
	
	@Override
	public Boolean isLegal() {
		return username != null && !username.isEmpty() &&
			password != null && !password.isEmpty()
		;
	}
}
